make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Thu, 22 Sep 2022 20:02:00 +0000 (21:02 +0100)
committerAurelien Jarno <aurel32@debian.org>
Thu, 22 Sep 2022 20:02:00 +0000 (21:02 +0100)
commit25ae69180e6bc91cff2351cc4c35e5663b567155
tree10d96ae6b3d8f5b1fe8964e77d88d76d942cd3c5
parent8c44f896b7ed85f0b1e323157054d69be11f324f
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c